package com.baox.agridata.synchronous.dao.quanguo;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baox.agridata.synchronous.entity.quanguo.McGrxxs;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface McGrxxsMapper {


    /**
     * 农业部企业个人信息，通过id查询明细
     *
     * @param id
     * @return
     */
    @DS("quanguo")
    McGrxxs selectGrxxsById(@Param("id") String id);


    /**
     * 农业部：批量插入本省个人基本信息
     *
     * @param list
     * @return
     */
    @DS("quanguo")
    Integer batchInsertMcGrxxs(@Param("list") List<McGrxxs> list);


    /**
     * 农业部：批量更新本省企业基本信息
     *
     * @param list
     * @return
     */
    @DS("quanguo")
    Integer batchUpdateMcGrxxs(@Param("list") List<McGrxxs> list);

}
